<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="header" >
    <a class="left-btn pointer" href="{$appkoudai}"><span class="iconfont icon-back"></span></a>
    <div class="title">签单管理</div>
    <a class="right-btn" href="{$appkoudai}?m=koudai_qd&a=order"><span class="iconfont icon-search"></span></a>
     
  </div>
<div class="row">
	<div class="tabs-border">
    	<a href="{$appkoudai}?m=koudai_qd&s_status=0" class="item">未确认</a>
        <a href="{$appkoudai}?m=koudai_qd&s_status=1" class="item">待发货</a>
        <a href="{$appkoudai}?m=koudai_qd&s_status=2" class="item">待完成</a>
        <a href="{$appkoudai}?m=koudai_qd&s_status=3" class="item">已完成</a>
    </div>
</div>
<div class="row">
 
 
<style>
.morderlist{background-color:#eee; padding:10px;}
.morderlist .item {margin-bottom:20px; background-color:#fff;}
.morderlist .item .pd{ padding:10px;}
.morderlist .item .hd{height:30px; line-height:30px; border-bottom:1px solid #ccc; margin-bottom:1px;}
</style>
<div class="morderlist" >
{foreach item=c from=$data}
<div class="item">
	<div class="pd">
    <div class="hd">
        <span class="left">{$order_status_list[$c.status]}</span>
        <span class="right">订单号:{$c.orderno}</span>
    </div>
    <div class="address"><span>姓名：{$c[address].truename} 电话：{$c[address].telephone}</span> 
    <span>{$c[address].p_c_t} 宿舍{$c[address].sushe}</span></div>
    <div class="dateline">{$c.dateline|date:Y-m-d H:i:s}</div>
    <div class="pay">金额：{$c.money} &nbsp; {$order_ispay[$c.ispay]}  {if $c.unpay}货到付款{/if} </div>
    
    <div class="tool"><a href="{$appkoudai}?m=koudai_order&a=show&order_id={$c.order_id}">查看</a> &nbsp;&nbsp;

</div>
</div>
</div>
 
{/foreach}
{$pagelist}
</div>
 <script language="javascript" src="/plugin/My97DatePicker/WdatePicker.js"></script>
<script>
$(function(){
	
	$("#showSearch").on(CLICK,function(){
		$("#searchBox").toggle();
	});
	
})
</script>
 {assign var="botnav" value="koudai_qd"}
{include file="footer.html"}